function submitLoginForm() {
    var form = $('#form_reset');
    // alert(form.serializeJSON().no);
    var data1={username:$('#form_login_username')[0].value,no:$("#form_reset_no")[0].value};
    alert(JSON.stringify(data1));
    $.ajax({
        url: "/api/auth/reset_password",
        // data:form.serializeJSON(),
        data: data1,
        type: "POST",
        contentType: 'application/json'
    })
        .done(function () {
            window.alert("密码成功重置为88888888");
        })
        .fail(function (jqXHR) {
            var response = JSON.parse(jqXHR.responseText);
            if (response != null) {
                if (response.error.code === 216000) {
                    UIkit.notify("账号或学号/工号错误", {status: "danger"});
                } else if (response.error.code % 200000 >= 3000 && response.error.code % 200000 < 4000) {
                    UIkit.notify("参数错误", {status: "danger"});
                }
            }
        })
}